#!/usr/bin/env python
"""
Setup script.
"""
from distutils.core import setup

for line in open('src/__init__.py', 'r'):
    if 'VERSION = ' in line:
        VERSION = line.split("'")[1]
        break

setup(name = "metaimage",
  version = VERSION,
  description = "Batch-processing image files",
  long_description = "Batch-processing tool for image metadata",
  author = "Rasmus Thystrup Karstensen",
  author_email = 'rathka@gmail.com',
  url = "https://code.google.com/p/metaimage/",
  download_url = "https://code.google.com/p/metaimage/source/checkout",
  platforms = ['any'],

  license = "GPLv3+",

  packages = ['metaimage'],
  package_dir = {'metaimage': 'src'},
)
